﻿using RBAC.Domain;
using RBAC.Repository.Interfae;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.Repository.Impl
{
    public class UserRoleRepository : BaseRepository<UserRole>, IUserRoleRepository
    {
        public UserRoleRepository(EFcoreContext context) : base(context)
        {

        }
        public async Task<int> AdduserRole(UserRole userRole)
        {
            return await base.AddAsync(userRole);
        }
        public async Task<List<UserRole>> UserRoleList()
        {
            return await base.GetAllAsync();
        }
    }
}
